body {
    background-color: #ebebeb;
}

.main {
    width: 16rem;
    margin: 0 auto;
}

@media screen and (min-width: 640px ) {
    .main {
        background-color: #f1f1f1;
    }

    body {
        background-color: #fff;
    }
}

.type-frame {
    width: 16rem;
    height: 4.5rem;
    background-color: #ffffff;
    border-bottom: 1px solid #dedede;
    float: left;
}

.title-text {
    font-size: 0.7rem;
    color: #999999;
    margin-top: 0.5rem;
    margin-left: 0.5rem;
}

.type-frame .button-frame {

}

.type-frame .button-frame .button {
    height: 1.5rem;
    border: 1px solid #000000;
    border-radius: 0.25rem;
    -webkit-border-radius: 0.25rem;
    float: left;
    margin: 0.5rem;
}

.type-frame .button-frame .button-icon {
    width: 1rem;
    height: 1rem;
    float: left;
    margin-top: 0.25rem;
    margin-left: 0.25rem;
}

.type-frame .button-frame .button-text {
    font-size: 0.6rem;
    float: left;
    line-height: 1.5rem;
    margin-left: 0.25rem;
    margin-right: 0.5rem;
}

.type-frame .button-frame .button-1 {
    color: #d6000f;
    border-color: #d6000f;
}

.type-frame .button-frame .button-2 {
    color: #cccccc;
    border-color: #cccccc;
}
.button-1:active{
    background-color: #f1f1f1;
}
.button-2:active {
    background-color: #f1f1f1;
}

.content-frame {
    float: left;
    width: 16rem;
    height: 11.5rem;
    margin-top: 0.5rem;
    border-top: 1px solid #dedede;
    border-bottom: 1px solid #dedede;
    background-color: #ffffff;
}

.content-frame .title-input {
    width: 13.9rem;
    height: 2rem;
    border: 1px solid #dfdfdf;
    margin: 0.5rem;
    border-radius: 0.25rem;
    -webkit-border-radius: 0.25rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    outline: none;
    color: #999999;
    font-size: 0.6rem;
}

.content-frame .type-input {
    width: 14.9rem;
    height: 2rem;
    border: 1px solid #dfdfdf;
    margin: 0.5rem;
    border-radius: 0.25rem;
    -webkit-border-radius: 0.25rem;
    /*padding-left: 0.5rem;*/
    /*padding-right: 0.5rem;*/
    outline: none;
    color: #999999;
    background-color: #ffffff;
    font-size: 0.6rem;
    line-height: 2rem;
}

.content-frame .amount-frame {
    float: left;
    width: 13.9rem;
    height: 2rem;
    border: 1px solid #f0f0f0;
    background-color: #f0f0f0;
    margin: 0.5rem;
    border-radius: 0.25rem;
    -webkit-border-radius: 0.25rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    outline: none;
    color: #999999;
    font-size: 0.6rem;
    line-height: 2rem;
}

.content-frame .amount-frame .amount-title {
    float: left;
    width: 3rem;
}

.content-frame .amount-frame .amount-text {
    width: 10rem;
    text-align: center;
    color: #e56069;
    float: left;
}

.address-frame {
    float: left;
    width: 16rem;
    margin-top: 0.5rem;
    border-top: 1px solid #dedede;
    border-bottom: 1px solid #dedede;
    background-color: #ffffff;
}

.address-frame .hr {
    width: 100%;
    height: 1px;
    margin-top: 0.25rem;
    background-color: #dddddd;
}

.address-frame input {
    width: 15rem;
    height: 2rem;
    border: none;
    border-bottom: 1px solid #dddddd;
    margin-left: 1rem;
    outline: none;
    color: #999999;
    font-size: 0.6rem;
}

.btn-ok {
    float: left;
    width: 16rem;
    height: 2.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    background-color: #d6000f;
    color: #ffffff;
    font-size: 0.7rem;
    line-height: 2.5rem;
    text-align: center;
}
.btn-ok:active{
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}
.remark-frame {
    float: left;
    font-size: 0.5rem;
    margin: 0.3rem;
}

.remark-frame div {
    text-align: center;
    color: #999999;
}